package com.yonyou.domain;

import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 预设内定中奖人员
 * 
 * @author Administrator
 *
 */
@Document(collection = "presetwinning")
@ApiModel(value="预设内定中奖人员")
public class PresetWinning {
	@Id
	@ApiModelProperty(value="预设内定中奖人员ID")
	private String id;
	
	@ApiModelProperty(value="会议ID")
	private String meeting_id;// 会议ID
	
	@ApiModelProperty(value="奖项ID")
	private String prize_id;// 奖项ID
	
	@ApiModelProperty(value="内定中奖人员ID")
	private List<String> user_id;// 内定中奖人员ID
	
	@ApiModelProperty(value = "是否删除,0代表正常1代表已删除")
	private String dr;
	
	@ApiModelProperty(value = "最后操作日期时间")
	private String ts;
	
	@Transient
	@ApiModelProperty(value = "用户集合")
	private List<User> userlist;
	
	
	
	public List<User> getUserlist() {
		return userlist;
	}

	public void setUserlist(List<User> userlist) {
		this.userlist = userlist;
	}

	public String getDr() {
		return dr;
	}

	public void setDr(String dr) {
		this.dr = dr;
	}

	public String getTs() {
		return ts;
	}

	public void setTs(String ts) {
		this.ts = ts;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMeeting_id() {
		return meeting_id;
	}

	public void setMeeting_id(String meeting_id) {
		this.meeting_id = meeting_id;
	}

	public String getPrize_id() {
		return prize_id;
	}

	public void setPrize_id(String prize_id) {
		this.prize_id = prize_id;
	}

	public List<String> getUser_id() {
		return user_id;
	}

	public void setUser_id(List<String> user_id) {
		this.user_id = user_id;
	}
	
	
}
